/** 获取oss链接 */
export const getOSSURL = (path?: string) => {
  if (!path) return ''
  if (path.startsWith('http')) return path
  return new URL(path, import.meta.env.VITE_OSS_BASE_URL).href
}
